package com.jjc.android.dialog

import android.content.Context
import android.view.ViewGroup
import com.jjc.android.R
import com.lxj.xpopup.core.CenterPopupView
import com.lxj.xpopup.util.XPopupUtils

class ReportingDialog(context: Context) : CenterPopupView(context) {

    override fun getImplLayoutId(): Int {
        return R.layout.dialog_reporting
    }

    override fun getPopupWidth(): Int {
        return (XPopupUtils.getScreenWidth(context)*0.9f).toInt()
    }

    override fun getPopupHeight(): Int {
        return ViewGroup.LayoutParams.WRAP_CONTENT
    }

}